package com.ken.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ken.dto.ShoppingCartDTO;
import com.ken.entity.ShoppingCart;

import java.util.List;

public interface UserShoppingCartService extends IService<ShoppingCart> {
    List<ShoppingCart> listByUserId();

    void deleteAll();

    void deleteOne(ShoppingCartDTO shoppingCartDTO);

    void add(ShoppingCartDTO shoppingCartDTO);
}
